package repository

import (
	"ruoyi/domain/entity/common"
	"ruoyi/domain/entity/response"
	"ruoyi/domain/entity/system"
)

type SysDictDataRepository interface {
	SelectDictDataByType(dictType string) []system.SysDictData

	SelectDictDataList(params common.SearchTableDataParam, isPage bool) common.TableDataInfo

	FindDictCodeById(dictCode string) system.SysDictData

	SaveDictData(dictDataParam system.SysDictData) response.Response

	EditDictData(dictDataParam system.SysDictData) response.Response

	DeleteDictData(dictCodes string) response.Response
}
